/**
 * Copyright &copy; 2015-2020 <a href="http://www.workless.cn/">JeePlus</a> All rights reserved.
 */
package com.workless.modules.sys.web.app;

import com.workless.common.json.AjaxJson;
import com.workless.core.web.BaseController;
import com.workless.modules.sys.utils.DictUtils;
import org.springframework.web.bind.annotation.*;

/**
 * 字典Controller
 * @author workless
 * @version 2017-05-16
 */
@RestController
@RequestMapping("/app/sys/dict")
public class AppDictController extends BaseController {

	@GetMapping("getDictMap")
	public AjaxJson getDictMap() {
		AjaxJson j = new AjaxJson();
		j.put("dictList", DictUtils.getDictMap());
		return j;
	}


}
